﻿using System;
using System.Collections.Generic;
using ProtoBuf;

namespace SaveData
{
    [ProtoContract]
    public class Item
    {
        [ProtoMember(1)]
        public string name;

        [ProtoMember(2)]
        public int price;

        public Item()
        {
            this.name = "default";
            this.price = 1000;
        }

        public Item(string name, int price)
        {
            this.name = name;
            this.price = price;
        }
    }
}
